package cn.livingCloud.repository;

import cn.livingCloud.dto.Page;
import cn.livingCloud.entity.core.PushGroup;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PushGroupMapper {
    int deleteByPrimaryKey(String uuid);

    int insert(PushGroup record);

    int insertSelective(PushGroup record);

    PushGroup selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(PushGroup record);

    int updateByPrimaryKey(PushGroup record);

    List<PushGroup> getList(Page listDto);

    List<PushGroup> selectAllGroup();

    List<PushGroup> getPushGroupByReportRuleUuid(String reportRuleUuid);
}